<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/page/share/taglib.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/css/style.css" />
<!-- editor -->
<script src="<%=request.getContextPath() %>/js/kindeditor/kindeditor-min.js"></script>
<script  src="<%=request.getContextPath() %>/js/kindeditor/en.js"></script>
		<script>
		
			var editor;
			KindEditor.ready(function(K) {
				editor = K.create('textarea[name="content"]', {
					resizeType : 1,
					allowPreviewEmoticons : false,
					allowImageUpload : false,
					items : [
						'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
						'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
						'insertunorderedlist', '|', 'emoticons', 'image', 'link']
				});
			});
		</script>
<!-- end of editor -->
</head>
<body>
	
	<table class="table">
	<html:form action="/control/reply/replyEdit.do?id=${data.id}" method="post">
						<tr class="table_header"><td>回帖修改</td><td>内容</td></tr>
						<tr class= "row1">
							<td>回帖名</td>
							<td><html:text property="title" value="${data.title }"></html:text></td>
						</tr>

						<tr class= "row1">
							<td>内容</td>
							<td><html:textarea cols="100" rows="30" property="content" value="${data.content }">${data.content }</html:textarea></td>
						</tr>
						
			<tr>
			<td><html:submit value="确定"></html:submit></td><td><html:reset value="重置"></html:reset></td>
			</tr>
	</html:form>					
	</table>

</body>
</html>